import request from '@/config/axios'

export interface QueryParams {
  startTime?: string
  endTime?: string
}

// 数量统计-分类
export const getClassificationStatistics = async (params: QueryParams) => {
  return await request.get({ url: '/amp/asset-message/getClassificationStatistics', params })
}

// 数量统计-部门
export const getDeptStatistics = async (params: QueryParams) => {
  return await request.get({ url: '/amp/asset-message/getDeptStatistics', params })
}

// 数量统计-分级
export const getLevelStatistics = async (params: QueryParams) => {
  return await request.get({ url: '/amp/asset-message/getLevelStatistics', params })
}
// 数量统计-标准
export const getStandardStatistics = async (params: QueryParams) => {
  return await request.get({ url: '/amp/asset-message/getStandardStatistics', params })
}
// 数量统计-系统
export const getSystemStatistics = async (params: QueryParams) => {
  return await request.get({ url: '/amp/asset-message/getSystemStatistics', params })
}
// 数量统计-工作台
export const getTaskStatistics = async (params: QueryParams) => {
  return await request.get({ url: '/amp/asset-message/getTaskStatistics', params })
}
